<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description"
	content="Веб-программирование, разработка сайтов, интернет магазинов. Веб-дизайн. Дизайн." />
<link href="css/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/slider2.js"></script>
<script type="text/javascript" src="js/slider.js"></script>
<script type="text/javascript" src="js/jquery.validate.js"></script>
<script type="text/javascript" src="js/validate.js"></script>

<title>Astaldo Group</title>
<s:head />
<script type="text/javascript">
	var _gaq = _gaq || [];
	_gaq.push([ '_setAccount', 'UA-30313648-1' ]);
	_gaq.push([ '_trackPageview' ]);

	(function() {
		var ga = document.createElement('script');
		ga.type = 'text/javascript';
		ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl'
				: 'http://www')
				+ '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0];
		s.parentNode.insertBefore(ga, s);
	})();
</script>
</head>
<body>
	<!-- langchange -->
	<s:url var="en" action="lang" namespace="/action">
		<s:param name="request_locale">en</s:param>
		<s:param name="url">order.jsp</s:param>
	</s:url>
	<s:url var="ru" action="lang" namespace="/action">
		<s:param name="request_locale">ru</s:param>
		<s:param name="url">order.jsp</s:param>
	</s:url>
	<s:url var="cz" action="lang" namespace="/action">
		<s:param name="request_locale">cz</s:param>
		<s:param name="url">order.jsp</s:param>

	</s:url>
	<!-- langchange -->

	<s:set var="here" value="%{'order'}" />
	<s:url var="company" action="lang" namespace="/action">
		<s:param name="url">company.jsp</s:param>
	</s:url>
	<s:url var="main" action="lang" namespace="/action">
		<s:param name="url">main.jsp</s:param>
	</s:url>
	<s:url var="service" action="lang" namespace="/action">
		<s:param name="url">service.jsp</s:param>
	</s:url>
	<s:url var="works" action="works" namespace="/action">
		<s:param name="url">works.jsp</s:param>
	</s:url>
	<s:url var="order" action="lang" namespace="/action">
		<s:param name="url">order.jsp</s:param>
	</s:url>

	<!-- header -->
	<jsp:include page="/pages/guest/header.jsp"></jsp:include>
	<!-- header -->

	<div class="container">
		<div id="left_block">
			<div id="phone_blcok" style="margin-top: 0;">
				<img id="red_phone" src="i/red_phone.png" alt="" />
				<div id="phone" style="width: 250px;" class="p">
					<p>
						<span class="kod_phone">+375 29</span> <span class="number n2">556
							21 11</span><span class="city_phone c2"> - <s:property
								value="getText('Minsk')" /></span>
					</p>
					<p>
						<span class="kod_phone">+420 77</span> <span class="number n2">415
							39 67</span><span class="city_phone"> - <s:property
								value="getText('Prague')" /></span>
					</p>
				</div>
			</div>
			<div id="view_s" class="vs">
				<ul id="type_communication_2">
					<li><div class="icon_2 red_icq"></div>
						<p>1625710664</p></li>
					<li><div class="icon_2 red_mail"></div>
						<p>
							<a href="#">astaldogroup@gmail.com</a>
						</p></li>
					<li><div class="icon_2 red_skype"></div>
						<p>astaldogroup</p></li>
				</ul>
			</div>
		</div>
		<div class="poloska_1 l">
			<div class="tran_p"></div>
			<div class="stat_p"></div>
		</div>
		<div id="center_block">
			<div id="order_2">
				<img src="i/v6.png" class="icon_order" alt="" />
				<p class="title_order">
					<s:property value="getText('form')" />
				</p>
				<!-- Form -->
				<div id="havetowrite" style="display: none;">
					<s:text name="havetowrite" />
				</div>
				<div id="maxlen" style="display: none;">
					<s:text name="maxlen" />
				</div>
				<div id="minlen" style="display: none;">
					<s:text name="minlen" />
				</div>
				<div id="entervalidemail" style="display: none;">
					<s:text name="entervalidemail" />
				</div>
				<s:form action="addOrder" method="post"
					enctype="multipart/form-data" name="/action">
					<div class="line_block" id="txt_name">
						<label><s:property value="getText('yourname')" /><span
							class="red_star">*</span></label><br />
						<s:textfield cssClass="no_warning" name="order.NAME" value=""
							label="NAME" />
					</div>
					<div class="line_block" id="txt_email">
						<label>E-mail<span class="red_star">*</span></label><br />
						<s:textfield cssClass="no_warning" name="order.EMAIL" value=""
							label="EMAIL" />

					</div>
					<div class="line_block ">
						<label><s:property value="getText('phone')" /></label><br />
						<s:textfield name="order.PHONE" cssClass="no_warn" value=""
							label="PHONE" />
					</div>
					<div class="line_block" id="txt_message">
						<label><s:property value="getText('message')" /><span
							class="red_star">*</span></label><br />
						<s:if test='%{orderm==1}'>
							<s:set var="site" value="%{getText('sitecardF')}" />
						</s:if>
						<s:if test='%{orderm==2}'>
							<s:set var="site" value="%{getText('promoF')}" />
						</s:if>
						<s:if test='%{orderm==3}'>
							<s:set var="site" value="%{getText('eshopF')}" />
						</s:if>
						<s:if test='%{orderm==4}'>
							<s:set var="site" value="%{getText('portalF')}" />
						</s:if>
						<s:textarea cols="20" rows="10" name="order.MESSAGE"
							value="%{site}" label="ABOUT_CZ" />
					</div>
					<div class="line_block_2" style="margin: 10px 0;">
						<label><s:property value="getText('youcanattach')" /> <br />(.jpeg
							.doc 2Mb max) </label><br />
						<s:file style="width: 100%; margin-top: 8px;" label="file "
							name="info" />
					</div>
					<div class="send_block">
						<c:if test="${empty param['added']}">
							<s:submit cssClass="send" value="%{getText('send')}" />
						</c:if>
						<c:if test="${!empty param['added']}">
							<s:submit cssClass="send" value="%{getText('posted')}" 
							cssStyle="background-image: url(../action/i/btn_2_ok.png)" onclick="return false;"> </s:submit>
						</c:if>
					</div>
				</s:form>

				<!-- Form -->
			</div>
		</div>
	</div>
	<c:if test="${!empty param['added']}"></c:if>

	<!-- footer -->
	<jsp:include page="/pages/guest/footer.jsp"></jsp:include>
	<!-- footer -->
</body>
</html>